<?php

	session_save_path('session/');
	session_start();
	
	require_once ("Controller/MasterController.php");
	require_once ("Model/DBConnection.php");
	require_once ("settings.php");
	require_once ("../Log/Log.php");
	require_once ("../Log/LogView.php");
	
	$aDBConnection = new DBConnection();
	$aDBConnection->Connect();
	$aMasterController = new MasterController();

	$title = "A Really Cool Forum";
	$body = $aMasterController->DoControll($aDBConnection);
	$aDBConnection->Close();
		
?>
		
		
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	        
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="se">
	
	<head>
		<title><?php echo "$title"?></title>
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<link rel="stylesheet" type="text/css" href="Styles/basic.css" />

	</head>
	
	<body>
		<div id="container">
			<?php echo "$body"?>
		</div>
	</body>
	
</html>